<!-- label -->
<template>
  <div @label="labelFn" :cityTitle="cityTitle">
    {{label}}
  </div>
</template>

<script>
export default {
  data () {
    return {
      cityTitle: ''
    }
  },
  props: {
    label: {
      type: String
    }
  },
  methods: {
    labelFn (cityTitle) {
      this.cityTitle = cityTitle
    }
  }

}

</script>
<style lang='less' scoped>
</style>
